package com.byls.dao;

import com.byls.pojo.News;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface NewsMapper {
    @Select("select *from news")
    List<News> getAllNews();
}
